<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>let命令作用域</title>
	</head>
	<script>
		{
		    var name= 'lb';
			let age = 25;
		}
		console.log(name);		// 输出：lb
		console.log(age);		// 输出：age is not define
	</script>
	<body>
	</body>
</html>
